Spread Windows Forms 7.0 Product Documentation
OnSet Method
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType.Fields Namespace > DisplayFieldCollection<T> Class : OnSet Method


index
The zero-based index at which oldValue can be found.
oldValue
The value to replace with newValue.
newValue
The new value of the element at index.

Glossary Item Box

Performs additional custom processes before setting a value in the System.Collections.CollectionBase instance.

Syntax

Visual Basic (Declaration) 
Protected Overrides Sub OnSet( _
   ByVal index As Integer, _
   ByVal oldValue As Object, _
   ByVal newValue As Object _
) 
Visual Basic (Usage)Copy Code
Dim instance As DisplayFieldCollection(Of T)
Dim index As Integer
Dim oldValue As Object
Dim newValue As Object
 
instance.OnSet(index, oldValue, newValue)
C# 
protected override void OnSet( 
   int index,
   object oldValue,
   object newValue
)

Parameters

index
The zero-based index at which oldValue can be found.
oldValue
The value to replace with newValue.
newValue
The new value of the element at index.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.